package com.xqls.biz;

import java.util.List;

import com.xqls.bean.RoleBean;
import com.xqls.util.CommonPage;
import com.xqls.util.CommonResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface RoleBiz {
	
    CommonResult insertRecord(RoleBean bean);
	
    CommonResult updateRecord(RoleBean bean);
    
    CommonResult deleteRecord(String roleId);
	
	RoleBean getById(String roleId);
	
	List<RoleBean> getList();
	
	CommonResult getListByPage(CommonPage commonPage, HttpServletRequest request, HttpServletResponse response);
}
